HTMLify
index.html
Views: 323 | Author: cody
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 | <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>SignIn-SignUp Form</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" type="text/css" media="screen" href="style.css" /> </head> <body> <div class="container" id="container"> <div class="form-container sign-up"> <form action="#"> <h1>Create Account</h1> <span>or use your email for registration</span> <input type="text" placeholder="Name" /> <input type="email" placeholder="Email" /> <input type="password" placeholder="Password" /> <button>Sign Up</button> </form> </div> <div class="form-container sign-in"> <form action="#"> <h1>Sign in</h1> <span>or use your account</span> <input type="email" placeholder="Email" /> <input type="password" placeholder="Password" /> <a href="#">Forgot your password?</a> <button>Sign In</button> </form> </div> <div class="overlay-container"> <div class="overlay"> <div class="overlay-panel overlay-left"> <h1>Welcome Back!</h1> <p> To keep connected with us please login with your personal info </p> <button id="signIn">Sign In</button> </div> <div class="overlay-panel overlay-right"> <h1>New here?</h1> <p>Sign up and discover great amount of new opportunities!</p> <button id="signUp">Sign Up</button> </div> </div> </div> </div> <script> const signUpButton = document.getElementById("signUp"); const signInButton = document.getElementById("signIn"); const container = document.getElementById("container"); signUpButton.addEventListener("click", () => { container.classList.add("right-panel-active"); }); signInButton.addEventListener("click", () => { container.classList.remove("right-panel-active"); }); var a = console.log.bind(document); a(3 * 4); a("Hello!"); a(true); </script> </body> </html> |